.class Lcn/sharesdk/evernote/e;
.super Ljava/lang/Object;

# interfaces
.implements Lcn/sharesdk/framework/PlatformActionListener;


# instance fields
.field final synthetic a:Lcn/sharesdk/evernote/f;

.field final synthetic b:Ljava/lang/String;

.field final synthetic c:Ljava/lang/String;

.field final synthetic d:Ljava/lang/String;

.field final synthetic e:Ljava/util/ArrayList;

.field final synthetic f:[Ljava/lang/String;

.field final synthetic g:Z

.field final synthetic h:Lcn/sharesdk/framework/Platform$ShareParams;

.field final synthetic i:Lcn/sharesdk/evernote/Evernote;


# direct methods
.method constructor <init>(Lcn/sharesdk/evernote/Evernote;Lcn/sharesdk/evernote/f;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;[Ljava/lang/String;ZLcn/sharesdk/framework/Platform$ShareParams;)V
    .registers 10

    iput-object p1, p0, Lcn/sharesdk/evernote/e;->i:Lcn/sharesdk/evernote/Evernote;

    iput-object p2, p0, Lcn/sharesdk/evernote/e;->a:Lcn/sharesdk/evernote/f;

    iput-object p3, p0, Lcn/sharesdk/evernote/e;->b:Ljava/lang/String;

    iput-object p4, p0, Lcn/sharesdk/evernote/e;->c:Ljava/lang/String;

    iput-object p5, p0, Lcn/sharesdk/evernote/e;->d:Ljava/lang/String;

    iput-object p6, p0, Lcn/sharesdk/evernote/e;->e:Ljava/util/ArrayList;

    iput-object p7, p0, Lcn/sharesdk/evernote/e;->f:[Ljava/lang/String;

    iput-boolean p8, p0, Lcn/sharesdk/evernote/e;->g:Z

    iput-object p9, p0, Lcn/sharesdk/evernote/e;->h:Lcn/sharesdk/framework/Platform$ShareParams;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCancel(Lcn/sharesdk/framework/Platform;I)V
    .registers 4

    iget-object v0, p0, Lcn/sharesdk/evernote/e;->i:Lcn/sharesdk/evernote/Evernote;

    invoke-static {v0}, Lcn/sharesdk/evernote/Evernote;->r(Lcn/sharesdk/evernote/Evernote;)Lcn/sharesdk/framework/PlatformActionListener;

    move-result-object v0

    invoke-interface {v0, p1, p2}, Lcn/sharesdk/framework/PlatformActionListener;->onCancel(Lcn/sharesdk/framework/Platform;I)V

    return-void
.end method

.method public onComplete(Lcn/sharesdk/framework/Platform;ILjava/util/HashMap;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcn/sharesdk/framework/Platform;",
            "I",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;)V"
        }
    .end annotation

    iget-object v0, p0, Lcn/sharesdk/evernote/e;->i:Lcn/sharesdk/evernote/Evernote;

    invoke-static {v0}, Lcn/sharesdk/evernote/Evernote;->o(Lcn/sharesdk/evernote/Evernote;)Lcn/sharesdk/framework/PlatformActionListener;

    move-result-object v0

    invoke-interface {v0, p1, p2}, Lcn/sharesdk/framework/PlatformActionListener;->onCancel(Lcn/sharesdk/framework/Platform;I)V

    const-string v0, "ShareParams"

    iget-object v1, p0, Lcn/sharesdk/evernote/e;->h:Lcn/sharesdk/framework/Platform$ShareParams;

    invoke-virtual {p3, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcn/sharesdk/evernote/e;->i:Lcn/sharesdk/evernote/Evernote;

    invoke-static {v0}, Lcn/sharesdk/evernote/Evernote;->p(Lcn/sharesdk/evernote/Evernote;)Lcn/sharesdk/framework/PlatformActionListener;

    move-result-object v0

    if-eqz v0, :cond_21

    iget-object v0, p0, Lcn/sharesdk/evernote/e;->i:Lcn/sharesdk/evernote/Evernote;

    invoke-static {v0}, Lcn/sharesdk/evernote/Evernote;->q(Lcn/sharesdk/evernote/Evernote;)Lcn/sharesdk/framework/PlatformActionListener;

    move-result-object v0

    invoke-interface {v0, p1, p2, p3}, Lcn/sharesdk/framework/PlatformActionListener;->onComplete(Lcn/sharesdk/framework/Platform;ILjava/util/HashMap;)V

    :cond_21
    return-void
.end method

.method public onError(Lcn/sharesdk/framework/Platform;ILjava/lang/Throwable;)V
    .registers 13

    const/16 v8, 0x9

    invoke-static {p3}, Lcn/sharesdk/framework/utils/e;->b(Ljava/lang/Throwable;)I

    :try_start_5
    iget-object v0, p0, Lcn/sharesdk/evernote/e;->a:Lcn/sharesdk/evernote/f;

    iget-object v1, p0, Lcn/sharesdk/evernote/e;->i:Lcn/sharesdk/evernote/Evernote;

    invoke-virtual {v1}, Lcn/sharesdk/evernote/Evernote;->getContext()Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcn/sharesdk/evernote/e;->b:Ljava/lang/String;

    iget-object v3, p0, Lcn/sharesdk/evernote/e;->c:Ljava/lang/String;

    iget-object v4, p0, Lcn/sharesdk/evernote/e;->d:Ljava/lang/String;

    iget-object v5, p0, Lcn/sharesdk/evernote/e;->e:Ljava/util/ArrayList;

    iget-object v6, p0, Lcn/sharesdk/evernote/e;->f:[Ljava/lang/String;

    iget-boolean v7, p0, Lcn/sharesdk/evernote/e;->g:Z

    invoke-virtual/range {v0 .. v7}, Lcn/sharesdk/evernote/f;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;[Ljava/lang/String;Z)Ljava/util/HashMap;

    move-result-object v0

    const-string v1, "ShareParams"

    iget-object v2, p0, Lcn/sharesdk/evernote/e;->h:Lcn/sharesdk/framework/Platform$ShareParams;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v1, p0, Lcn/sharesdk/evernote/e;->i:Lcn/sharesdk/evernote/Evernote;

    invoke-static {v1}, Lcn/sharesdk/evernote/Evernote;->k(Lcn/sharesdk/evernote/Evernote;)Lcn/sharesdk/framework/PlatformActionListener;

    move-result-object v1

    if-eqz v1, :cond_37

    iget-object v1, p0, Lcn/sharesdk/evernote/e;->i:Lcn/sharesdk/evernote/Evernote;

    invoke-static {v1}, Lcn/sharesdk/evernote/Evernote;->l(Lcn/sharesdk/evernote/Evernote;)Lcn/sharesdk/framework/PlatformActionListener;

    move-result-object v1

    const/16 v2, 0x9

    invoke-interface {v1, p1, v2, v0}, Lcn/sharesdk/framework/PlatformActionListener;->onComplete(Lcn/sharesdk/framework/Platform;ILjava/util/HashMap;)V
    :try_end_37
    .catch Ljava/lang/Throwable; {:try_start_5 .. :try_end_37} :catch_38

    :cond_37
    :goto_37
    return-void

    :catch_38
    move-exception v0

    iget-object v1, p0, Lcn/sharesdk/evernote/e;->i:Lcn/sharesdk/evernote/Evernote;

    invoke-static {v1}, Lcn/sharesdk/evernote/Evernote;->m(Lcn/sharesdk/evernote/Evernote;)Lcn/sharesdk/framework/PlatformActionListener;

    move-result-object v1

    if-eqz v1, :cond_37

    iget-object v1, p0, Lcn/sharesdk/evernote/e;->i:Lcn/sharesdk/evernote/Evernote;

    invoke-static {v1}, Lcn/sharesdk/evernote/Evernote;->n(Lcn/sharesdk/evernote/Evernote;)Lcn/sharesdk/framework/PlatformActionListener;

    move-result-object v1

    invoke-interface {v1, p1, v8, v0}, Lcn/sharesdk/framework/PlatformActionListener;->onError(Lcn/sharesdk/framework/Platform;ILjava/lang/Throwable;)V

    goto :goto_37
.end method
